WPDiscourse\DiscourseComment\DiscourseComment A

Total Complexity 55
Dependencies 2
Dependents 1
Total lines 368
Lines of code 212
Logical lines of code 141
Comment lines 92
Methods 8
Properties 2

Methods 8

Method Rating Maintainability Complexity Lines of code
sync_comments()
B
36 18 74
comments_template()
A
47 10 34
get_comment_type_for_post()
A
52 9 24
get_comments_number()
S
51 7 25
get_discourse_comments()
S
60 5 12
discourse_comments_js()
S
57 3 16
initialize_comment_route()
S
58 2 17
__construct()
S
63 1 10